package cn.com.nes.mybatis.agent.ope.mapper;

import cn.com.nes.mybatis.agent.ope.entity.EquipmentControlParamCustom;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.Collection;
import java.util.List;
import java.util.Map;

/**
 * <p>
 * 自定义设备参数展示表 Mapper 接口
 * </p>
 * @author nes
 * @since 2023-04-13
 */
public interface EquipmentControlParamCustomMapper extends BaseMapper<EquipmentControlParamCustom> {

    List<Map<String, String>> getCommandCodeByProtocolId(@Param("protocolId") String protocolId,
            @Param("newFields") Collection<String> newFields);


    List<Map<String, String>> getCommandCodeByProtocolId2(@Param("protocolId") String protocolId,
            @Param("newFields") Collection<String> newFields);

}
